<?php
/**
 * User: aka
 * Time: 15:13
 */

namespace app\tenno\model;

use think\Model;

class UsersFile extends Model
{
    public function scopeFile($query, $userId)
    {
        $query->where('uid', '=', $userId);
    }
}